<h1>Listing navigations</h1>

<table>
  <tr>
    <th>Name</th>
    <th>Display name</th>
    <th>Link address</th>
    <th>Ord</th>
    <th>Level</th>
    <th>Parent</th>
  </tr>

<% @navigations.each do |navigation| %>
  <tr>
    <td><%=h navigation.name %></td>
    <td><%=h navigation.display_name %></td>
    <td><%=h navigation.link_address %></td>
    <td><%=h navigation.ord %></td>
    <td><%=h navigation.level %></td>
    <td><%=h navigation.parent_id %></td>
    <td><%= link_to 'Show', navigation %></td>
    <td><%= link_to 'Edit', edit_navigation_path(navigation) %></td>
    <td><%= link_to 'Destroy', navigation, :confirm => 'Are you sure?', :method => :delete %></td>
  </tr>
<% end %>
</table>

<br />

<%= link_to 'New navigation', new_navigation_path %>